#include"COutput.h"
#include"CTriagle.h"
#include"CRectangle.h"
int main()
{
	CRectangle rect; CTriangle trgl;
	rect.setValues(4, 5);
	trgl.setValues(4, 5);
	rect.writeln(rect.area());
	trgl.writeln(rect.area());
	_getch();
	return 0;

}